## LOCAL_DATE x y TOTAL_PRECIPITATION
## Min. :1901-09-01 Min. : NA Min. : NA Min. : NA
## 1st Qu.:1901-12-31 1st Qu.: NA 1st Qu.: NA 1st Qu.: NA
## Median :1977-11-02 Median : NA Median : NA Median : NA
## Mean :1957-03-07 Mean :NaN Mean :NaN Mean :NaN
## 3rd Qu.:2017-05-08 3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA
## Max. :2018-10-25 Max. : NA Max. : NA Max. : NA
## NA's :488 NA's :488 NA's :488
## STATION_NAME MAX_TEMPERATURE MIN_TEMPERATURE TOTAL_RAIN
## Length:488 Min. : NA Min. : NA Min. : NA
## Class :character 1st Qu.: NA 1st Qu.: NA 1st Qu.: NA
## Mode :character Median : NA Median : NA Median : NA
## Mean :NaN Mean :NaN Mean :NaN
## 3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA
## Max. : NA Max. : NA Max. : NA
## NA's :488 NA's :488 NA's :488
## MIN_REL_HUMIDITY LOCAL_YEAR LOCAL_MONTH MEAN_TEMPERATURE
## Min. : NA Min. : NA Min. : NA Min. : NA
## 1st Qu.: NA 1st Qu.: NA 1st Qu.: NA 1st Qu.: NA
## Median : NA Median : NA Median : NA Median : NA
## Mean :NaN Mean :NaN Mean :NaN Mean :NaN
## 3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA 3rd Qu.: NA
## Max. : NA Max. : NA Max. : NA Max. : NA
## NA's :488 NA's :488 NA's :488 NA's :488
## # A tibble: 14 × 2
## LOCAL_YEAR count
## <dbl> <int>
## 1 1901 122
## 2 1902 120
## 3 1977 30
## 4 2005 10
## 5 2009 1
## 6 2010 7
## 7 2011 8
## 8 2012 10
## 9 2013 4
## 10 2014 10
## 11 2015 22
## 12 2016 6
## 13 2017 60
## 14 2018 78
## [1] 679
## [1] 343
## [1] 446
basic EDA
## STATION_NAME
## 1 Kelowna
Plot
EHF plot
ECF plot
shows the year with extreme yield
plot 90th compare different based year
plot certain year temp dist vs baseline 90th
plot 90th (blue) vs all year temp dist (grey). Based line is all
year.
Analyze the hw
prepare for the data
## # A tibble: 31 × 7
## Month Day Percentile_90 MAX_TEMP_YEAR DayOfYear Condition Cumulative_Count
## <int> <int> <dbl> <dbl> <dbl> <lgl> <dbl>
## 1 1 4 5 8.7 4 TRUE 1
## 2 1 6 5 7.7 6 TRUE 1
## 3 1 19 6.12 8.2 19 TRUE 1
## 4 1 27 6.7 8.4 27 TRUE 1
## 5 3 19 14.2 14.6 78 TRUE 1
## 6 3 20 14.4 16.1 79 TRUE 2
## 7 3 21 14.4 17.1 80 TRUE 3
## 8 3 22 14.7 16.8 81 TRUE 4
## 9 3 23 15.1 17.1 82 TRUE 5
## 10 3 28 16.1 16.3 87 TRUE 1
## # ℹ 21 more rows
plot overall count of hw through years
plot for heat map









seperate view of the heatmap
examine specific year (grep line vs 90 vs specific year)
according bar
Plot EHF vs Percentile_90 for specific year
1958
1971
1998
2021
2022